<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Page</title>
<link rel="stylesheet" type="text/css"
	href="<{$APPLICATION_URL}>/Themes/<{$templateName}>/styles/m_style.css"
	media="screen" />
<script type="text/javascript"
	src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/js/jquery.min.js"></script>
<script type="text/javascript">
var $ = jQuery.noConflict();
	$(function() {
		$('#activator').click(function(){
				$('#box').animate({'top':'65px'},500);
		});
		$('#boxclose').click(function(){
				$('#box').animate({'top':'-400px'},500);
		});
		$('#activator_share').click(function(){
				$('#box_share').animate({'top':'65px'},500);
		});
		$('#boxclose_share').click(function(){
				$('#box_share').animate({'top':'-400px'},500);
		});
		$('#activator_login').click(function(){
				$('#box_login').animate({'top':'65px'},500);
		});
		$('#boxclose_login').click(function(){
				$('#box_login').animate({'top':'-400px'},500);
		});

	});
	$(document).ready(function(){
	$(".toggle_container").hide(); 
	$(".trigger").click(function(){
		$(this).toggleClass("active").next().slideToggle("slow");
		return false;
	});
	
	});
</script>
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes" /> 
<meta name="apple-mobile-web-app-status-bar-style" content="blue" /> 
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
</head>

<body>
	<div id="main_container">
		<div class="header">
			<a href="<{$APPLICATION_URL}>/<{$ownerName}>" class="left_bt">home</a>
			<span><{$pageEntity->title}></span> <a href="#" class="right_bt"
				id="activator"><img
				src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/search.png"
				alt="" title="" border="0" /> </a>
		</div>

		<div class="box" id="box">
			<div class="box_content">

				<div class="box_content_tab">Search</div>
				<div class="box_content_center">
					<div class="form_content">
						<form action="<{$APPLICATION_URL}>/<{$ownerName}>Search"
							method="post">
							<input name="name" type="text" id="searchf"
								class="form_input_box" /> <input name="module" type="hidden"
								class="input-text" value="<{$moduleName}>" /> <a
								class="boxclose" id="boxclose">Close</a> <input type="submit"
								title="submit" class="form_submit" value="Submit" />
						</form>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div class="box" id="box_share">
			<div class="box_content">
				<div class="box_content_tab">Join Us On</div>
				<div class="box_content_center">
					<div class="social_share">
						<ul>
							<{if $ownerFacebook != ""}>
							<li><a href="<{$ownerFacebook}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/facebook.png"
									alt="Join Us On Facebook" border="0" /> </a></li> <{/if}> <{if
							$ownerTwitter != ""}>
							<li><a href="<{$ownerTwitter}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/twitter.png"
									alt="Join Use On Twitter" border="0" /> </a></li> <{/if}> <{if
							$ownerLinkin != ""}>
							<li><a href="<{$ownerLinkin}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/linkedin.png"
									alt="Join Us In Linkedin" border="0" /> </a></li> <{/if}> <{if
							$ownerDribbble != ""}>
							<li><a href="<{$ownerDribbble}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/dribbble.png"
									alt="Join Us In Dribbble" border="0" /> </a></li> <{/if}> <{if
							$ownerDigg != ""}>
							<li><a href="<{$ownerDigg}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/digg.png"
									alt="Join Us In Digg" border="0" /> </a></li> <{/if}> <{if
							$ownerVimeo != ""}>
							<li><a href="<{$ownerVimeo}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/vimeo.png"
									alt="Join Us In Vimeo" border="0" /> </a></li> <{/if}> <{if
							$ownerYoutube != ""}>
							<li><a href="<{$ownerYoutube}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/youtube.png"
									alt="Join Us In Youtube" border="0" /> </a></li> <{/if}> <{if
							$ownerForrst != ""}>
							<li><a href="<{$ownerForrst}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/forrst.png"
									alt="Join Us In Forrst" border="0" /> </a></li> <{/if}> <{if
							$ownerFlickr != ""}>
							<li><a href="<{$ownerFlickr}>" target="blank"><img
									src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/social/flickr.png"
									alt="Join Us In Flickr" border="0" /> </a></li> <{/if}>
						</ul>
					</div>

					<a class="boxclose_right" id="boxclose_share">close</a>
					<div class="clear"></div>
				</div>
			</div>
		</div>

		<div class="content">
			<div class="corner_wrap">
				<div class="box_content_center">
					<div class="form_content">
						<form method="post"
							action="<{$APPLICATION_URL}>/<{$ownerName}>Login/login"
							name="CONTACTFORM">
							<{if $isError == true}>
								<label><{$errorLoginMessage}></label>
								<br/>
							<{/if}>
							<label>Username:</label> 
								<input type="text" name="username"
								class="form_input"
								onblur="this.value=this.value==''?'Your Username':this.value;"
								onfocus="if(this.value=='Your Username') this.value=''"
								value="Your Username" /> 
							<label>Password:</label> 
							<input
								type="password" name="password" class="form_input"/> 							
							<a href="<{$APPLICATION_URL}>/<{$ownerName}>Login/signup"><label>Register customer?</label></a> <br/> <a href="<{$APPLICATION_URL}>/<{$ownerName}>Login/forgotpassword"><label>Password forgotten?</label></a>
							<br/>
							<input type="submit"
								class="form_submit_right" value="Login" />
						</form>
					</div>
				</div>
				<div class="clear_left"></div>
			</div>
		</div>
		<div id="footer">
			<{if $ownerTwitter != "" || $ownerDribbble != "" || $ownerDigg != ""
			|| $ownerVimeo != "" || $ownerYoutube != "" || $ownerForrst != "" ||
			$ownerFlickr != "" || $ownerFacebook != "" || $ownerLinkin != ""}> <a
				href="#" class="left_bt" id="activator_share">Follow</a> <{/if}> <span><small>
					&copy; <{$smarty.now|date_format:"%Y"}> <{$ownerFullName}>. All
					rights reserved <{if $isBrandingFree == false}> , powered by <a
					href="http://www.slappit.com"
					title="Slappit.com - Ecommerce Websites From &pound;5 A Month">Slappit.com</a>
					<{/if}> </small> </span> <a
				onclick="jQuery('html, body').animate( { scrollTop: 0 }, 'slow' );"
				href="" title="Go on top" class="right_bt"><img
				src="<{$APPLICATION_URL}>/Themes/<{$templateName}>/images/top.png"
				alt="" title="" border="0" /> </a>
		</div>

		<script language="JavaScript1.2">

var speed, currentpos=curpos1=0,alt=1,curpos2=-1

function initialize(){
if (window.parent.scrollspeed!=0){
speed=window.parent.scrollspeed
scrollwindow()
}
}

function scrollwindow(){
temp=(document.all)? document.body.scrollTop : window.pageYOffset
alt=(alt==0)? 1 : 0
if (alt==0)
curpos1=temp
else
curpos2=temp

window.scrollBy(0,speed)
}

setInterval("initialize()",10)

</script>

</body>
</html>
